package com.ctgu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product {

    private int id;
    private String name;
    private String weight;
    private int sort1;
    private String sort2;
    private double price;
    private int popularity;
    private String state;

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", weight='" + weight + '\'' +
                ", sort1='" + sort1 + '\'' +
                ", sort2='" + sort2 + '\'' +
                ", price=" + price +
                ", popularity='" + popularity + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
